package com.kaizzi.data.jdl.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author Kzen
 * @Description crm_member表 （目前开放视图，读权限）
 * @date 2020/9/10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class CrmMember implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField("mopenid")
    private String mopenId;
    @TableField("tuan_mopenid")
    private String tuanMopenId;
    @TableField("unionid")
    private String unionId;
    @TableField("nickname")
    private String nickName;
    @TableField("gender")
    private int gender;
    @TableField("city")
    private String city;
    @TableField("area")
    private String area;
    @TableField("province")
    private String province;
    @TableField("country")
    private String country;
    @TableField("avatarurl")
    private String avatarurl;
    @TableField("countryCode")
    private String countryCode;
    @TableField("mobile")
    private String mobile;
    @TableField("bind_type")
    private int bindType;
    @TableField("points")
    private int points;
    @TableField("history_points")
    private int historyPoints;
    @TableField("grade")
    private int grade;
    @TableField("birthday")
    private Date birthday;
    @TableField("remark")
    private String remark;
    @TableField("CreateTime")
    private LocalDateTime createTime;
    @TableField("UpdateTime")
    private LocalDateTime updateTime;
    @TableField("bind_time")
    private LocalDateTime bindTime;
    @TableField("motionLike")
    private String motionLike;
    @TableField("motionNumber")
    private int motionNumber;
    @TableField("motionTime")
    private int motionTime;
    @TableField("height")
    private float height;
    @TableField("weight")
    private int weight;
    @TableField("isEdit")
    private int isEdit;
    @TableField("isBriefing")
    private int isBriefing;
    @TableField("supply")
    private int supply;
    @TableField("LastLoginTime")
    private LocalDateTime lastLoginTime;
    @TableField("vvip")
    private int vvip;
    @TableField("vip_qrcode")
    private String vipQrCode;
    @TableField("source")
    private String source;
}
